package com.rules.admin.publish;


import com.rules.admin.entity.RulePackage;
import org.springframework.stereotype.Component;

@Component
public class RedisNotifer implements Notifier{
    @Override
    public void notify(RulePackage rulePackage) {
        String groupId = rulePackage.getGroupId();
        String artifactId = rulePackage.getArtifactId();
        String version = rulePackage.getVersion();
        StringBuilder data = new StringBuilder();
        data.append(artifactId).append(":").append(version);


    }

    @Override
    public void deleteNotify(RulePackage rulePackage) {

        String groupId = rulePackage.getGroupId();


    }
}
